package cn.tedu.ivos.geofence.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.Date;

@Data
public class GeofenceSaveParam {
    @Schema(description = "电子围栏编号")
    private Long id;
    @Schema(description = "电子围栏名称",required = true)
    @NotBlank(message = "电子围栏名称不能为空")
    private String name;
    @Schema(description = "电子围栏状态")
    @NotBlank(message = "电子围栏状态不能为空")
    private String status;
    @Schema(description = "电子围栏位置数据",required = true)
    @NotBlank(message = "电子围栏位置数据不能为空")
    private String position;
    @Schema(description = "创建时间")
    private Date createTime;
}
